package com.nbsaas.boot.customer.rest.convert;

import com.nbsaas.boot.customer.data.entity.CustomerLabelCatalog;
import com.nbsaas.boot.customer.api.domain.simple.CustomerLabelCatalogSimple;

import com.nbsaas.boot.rest.api.Converter;

/**
* 标签分组-列表对象转换器
*/

public class CustomerLabelCatalogSimpleConvert implements Converter<CustomerLabelCatalogSimple, CustomerLabelCatalog> {




@Override
public CustomerLabelCatalogSimple convert(CustomerLabelCatalog source) {
    CustomerLabelCatalogSimple result = new CustomerLabelCatalogSimple();

                result.setName(source.getName());
                result.setId(source.getId());


    return result;
}

}